#pragma once

#include <Windows.h>
#include <string>

using namespace std;

#define  MAX_PASS_SIZE 20
class Player
{
private:
	unsigned long mAllTimePoints;
	UINT mCurrentGamePoints;
	UINT mBestScore;
	UINT mTotalGamesPlayed;

	string mUsername;
	string mPassword;

	bool mIsAdmin;


public:
	void AddPoints(UINT _points);
	void IncPlayedGames();
	unsigned long AllTimePoints() const;
	void AllTimePoints(unsigned long val);
	const string& Username() const;
	void Username(string val);
	string Password() const;
	void Password(string val);
	UINT CurrentGamePoints() const;
	void CurrentGamePoints(UINT val);
	UINT BestScore() const;
	void BestScore(UINT val);
	UINT TotalGamesPlayed() const;
	void TotalGamesPlayed(UINT val);
	bool IsAdmin() const;
	void IsAdmin(bool val);

public:
	Player(void);
	Player(string _username);
	~Player(void);
};

